package com.briup.ch08;

/**
 * @Author briup-adam
 * @Date 2023/10/17 下午5:53
 * @Description
 **/

@Demo(name = "注解测试类",version = 10)
public class AnnotationDemo {
    @Demo(name = "属性")
    private int  x;
    
    @Demo(name = "注解测试内部接口")
    interface  AnnotationAction{

    }

    @Demo(name = "方法")
    void methodA(){

    }
    @Demo(name = "构造器")
    AnnotationDemo(){}
}
//@Demo()
class SubAnnotationDemo extends  AnnotationDemo{

}
